package com.dp.Decorator;

public class Decorator extends AbstractComponent{

	AbstractComponent component;
	
	public Decorator(AbstractComponent component) {
		super();
		this.component = component;
	}

	@Override
	void doSomething() {
		component.doSomething();
	}

}
